package com.ruoyi.sale.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售记录
对象 gas_sale_record
 *
 * @author h w
 * @date 2022-12-09
 */
@Data
public class SaleRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 销售记录ID */
    private Long saleRecordId;

    /** 所属经销商ID */
    @Excel(name = "所属经销商ID")
    private Long customerId;

    /** 所属经销商名 */
    @Excel(name = "所属经销商名")
    private String customerName;

    /** 卖气价格 */
    @Excel(name = "卖气价格")
    private BigDecimal salePrice;

    /** 实际卖气量(立方) */
    @Excel(name = "实际卖气量(立方)")
    private BigDecimal factAmount;

    /** 卖气数量(立方) */
    @Excel(name = "卖气数量(立方)")
    private BigDecimal amount;

    /** 卖气金额 */
    @Excel(name = "卖气金额")
    private BigDecimal saleAmount;

    /** 结算状态 '0' 未结算 '1' 已结算 */
    @Excel(name = "结算状态 '0' 未结算 '1' 已结算")
    private String settleStatus;

    /** 结算时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结算时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date settleTime;

    /** 销售对象 */
    @Excel(name = "销售对象")
    private String carInfo;

    /** 车次 */
    @Excel(name = "车次")
    private String carNum;

    /** 往返公里数 */
    @Excel(name = "往返公里数")
    private String mileage;

    /** 车头耗气量 */
    @Excel(name = "车头耗气量")
    private String carHeadConsume;

    /** 车头耗气量单价 */
    @Excel(name = "车头耗气量单价")
    private BigDecimal consumeSinglePrice;

    /** 耗气金额 */
    @Excel(name = "耗气金额")
    private BigDecimal consumeAmount;

    /** 高速公路费 */
    @Excel(name = "高速公路费")
    private BigDecimal highwayAmount;

    /** 司机工资 */
    @Excel(name = "司机工资")
    private BigDecimal driverSalary;

    /** 押运员工资 */
    @Excel(name = "押运员工资")
    private BigDecimal supercargoSalary;

    /** 其他费用 */
    @Excel(name = "其他费用")
    private BigDecimal otherAmount;

    /** 费用总额 */
    @Excel(name = "费用总额")
    private BigDecimal totalAmount;

    /** 亏涨量(立方) */
    @Excel(name = "亏涨量(立方)")
    private String lossIncrease;

    /** 出气价格 */
    @Excel(name = "出气价格")
    private BigDecimal outPrice;

    /** 出气量(立方) */
    @Excel(name = "出气量(立方)")
    private BigDecimal outAmount;

    /** 出气金额 */
    @Excel(name = "出气金额")
    private BigDecimal outTotalAmount;

    /** 商家ID */
    @Excel(name = "商家ID")
    private Long enterpriseId;

    /** 商家名 */
    @Excel(name = "商家名")
    private String enterpriseName;

    /** 充装ID */
    @Excel(name = "充装ID")
    private Long fullfillId;

    /** 充气编号 */
    @Excel(name = "充气编号")
    private String fullfillNum;
}
